package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.res.YxySubject;

public interface YxySubjectRepository extends JpaRepository<YxySubject, String> {

    /**
     * 查询微课的科目
     */
    List<YxySubject> findByStageAndUseFlagOrderByOrderNum(String phase, String string);

    YxySubject findByStageAndName(String stage, String name);

}
